public double ConvertToRadians(double angle) { return (Math.PI / 180) * angle; }